package com.kl.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import lombok.experimental.Accessors;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

@Data
@Accessors(chain = true)
public class TbTaxpayerDTO {
    private Long tbId;
    private String tbInvoice;
    private Integer tbType;
    private String tbDutyParagraph;
    private String tbBankfDeposit;
    private String tbBankfAccountNumber;
    private String tbLandline;
    private String tbAddress;
    private String tbPhone;
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @JsonFormat(pattern="yyyy-MM-dd",timezone = "GMT+8")
    private Date tbStartTime;
    private String tbEmail;
    private String tbUsername;
    private String tbState;
}
